@use "@/assets/styles/mixin";

.tab-container {
  @include mixin.flex-align;
  position: relative;
  padding-bottom: 20px;
  .tab-fixed {
    @include mixin.flex-align;
    flex-wrap: nowrap;
  }
  .tab-item {
    @include mixin.flex-center;
    flex-shrink: 0;
    min-width: 72px;
    height: 22px;
    padding: 0 10px;
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 14px;
    color: #606266;
    line-height: 22px;
    cursor: pointer;
    user-select: none;
    &_icon {
      width: 16px;
      height: 16px;
    }
  }

  .tab-start-drag {
    border: 1px solid #e7eaf0;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  }
  .tab-item-active {
    color: #fff;
    border-color: #007dff;
    border-radius: 4px;
    background-color: #007dff;
  }
}
#tabsContainer {
  @include mixin.flex;
  flex-wrap: nowrap;
  gap: 0 16px;
  flex: 1;
  overflow-x: auto;
  //padding-left: 16px;
}
.dragArea{
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
  &::-webkit-scrollbar {
    display: none;
  }
}

.chosenClass {
  color: #606266 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  border: 1px solid #007dff !important;
}

.drag-container{
  @include mixin.flex-align;
  overflow-x: auto;
  :deep(.svg-icon){
    font-size: 24px;
    cursor: pointer;
  }
}
